<!-- /.section, /#navigation -->
<script type="text/javascript" charset="utf-8">
			/* Global var for counter */
			
			$(document).ready(function() {
				$('#example').dataTable();
			} );
			</script>
<div id="main-wrapper">
  <div id="main" class="clearfix with-navigation">
    <div id="content" class="column">
      <div class="section">
      	<!--{$htmlErrMsg}-->
      	<div class="tabs">
          <ul class="tabs primary clearfix">
          
          <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_MEMBER_ADMIN) }-->
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php">
                <span class="tab">members Management</span>
              </a>
            </li>
           <!--{/if}-->
           
           <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_NEWS_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php?mode=showNewslist">
                <span class="tab">Announcement/even Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_CONFERENCE_ADMIN) }-->
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->conference/index.php"  >
                <span class="tab">conference Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_ELECT_ADMIN) }-->
             <li class="active">
              <a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php" class="active">
                <span class="tab">elect Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->pay/show_payment_details.php">
                <span class="tab">payment Management</span>
              </a>
            </li>
            
            <!--{/if}-->
          </ul>
        </div>
      	
        <div class="tabs" style="margin-top:10px;">
          <ul class="tabs primary clearfix">
            <li class="active">
              <a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php"  class="active">
                <span class="tab">Elect List</span>
              </a>
            </li>
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php?mode=newEcect" >
                <span class="tab">Creat New Elect</span>
              </a>
            </li>
          </ul>
        </div>
        
        <div id="content-area">
          <form action="<!--{$smarty.const.HTTP_URL}-->regist/regist.php" method="post" id="user-register" >
          <input type="hidden" name="mode" id="mode" value="confirm" />
          <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
          	<div style="height: 20px" id="container" ></div>
            <div>
					<div id="demo">
						<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
							<thead>
								<tr>
									<th>ID</th>
									<th>TITLE</th>
									<th>START DATE</th>
									<th>END DATE</th>
									<th>STATUS</th>
									<th>EDIT</th>
								</tr>
							</thead>
							<tbody>
							<!--{section name=cnt loop=$electInfoArr}-->
								<tr>
									<td><!--{$electInfoArr[cnt].id|escape}--></td>
									<td>
										<a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php?mode=seeElectDetail&id=<!--{$electInfoArr[cnt].id|escape}-->">
										<!--{$electInfoArr[cnt].elect_title|escape}-->
										</a>
									</td>
									<td><!--{$electInfoArr[cnt].start_time|escape}--></td>
									<td><!--{$electInfoArr[cnt].close_time|escape}--></td>
									<!--{if $electInfoArr[cnt].del_flg ==0}-->
										<td>Normal</td>
										<td>
											<a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php?mode=electBlock&id=<!--{$electInfoArr[cnt].id|escape}-->">Block</a> 
										</td>
									<!--{else}-->
										<td>Blocked</td>
										<td>
											<a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php?mode=electActive&id=<!--{$electInfoArr[cnt].id|escape}-->">Active</a> 
										</td>
									<!--{/if}-->
									
								</tr>
							<!--{/section}-->
							</tbody>
						</table>
					</div>
            </div>
          </form>
        </div>
      </div>
    </div>
    <!-- /.section, /#content -->
  </div>
</div>
<!-- /#main, /#main-wrapper -->
